home *** CD-ROM | disk | FTP | other *** search
/ Super League / Super League.iso / TUTORIAL / CURSO / WHERE.DXR / 00032.ls < prev    next >
Encoding:
Text File  |  1997-03-25  |  870 b   |  40 lines

  1. on enterFrame
  2.   global var1, var2
  3.   if chars(var2, 6, 7) = "2." then
  4.     if var1 <= 16 then
  5.       set the visible of sprite 26 to 1
  6.     end if
  7.     if var1 > 16 then
  8.       set the visible of sprite 27 to 1
  9.     end if
  10.   end if
  11.   if chars(var2, 6, 7) = "3." then
  12.     set the visible of sprite 28 to 1
  13.   end if
  14.   if chars(var2, 6, 7) = "4." then
  15.     set the visible of sprite 29 to 1
  16.   end if
  17.   if chars(var2, 6, 7) = "5." then
  18.     if var1 <= 5 then
  19.       set the visible of sprite 30 to 1
  20.     end if
  21.     if var1 > 5 then
  22.       set the visible of sprite 31 to 1
  23.     end if
  24.   end if
  25.   if chars(var2, 6, 7) = "6." then
  26.     set the visible of sprite 32 to 1
  27.   end if
  28.   if chars(var2, 6, 7) = "7." then
  29.     set the visible of sprite 33 to 1
  30.   end if
  31.   if chars(var2, 6, 7) = "8." then
  32.     set the visible of sprite 34 to 1
  33.   end if
  34. end
  35.  
  36. on exitFrame
  37.   general()
  38.   go(#loop)
  39. end
  40.